@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?xt4lp5');
    src: url('../fonts/icomoon.eot?xt4lp5#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?xt4lp5') format('truetype'),
    url('../fonts/icomoon.woff?xt4lp5') format('woff'),
    url('../fonts/icomoon.svg?xt4lp5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
#fp-nav ul li a span, .fp-slidesNav ul li a span {
    background-color: #d8d8d8;
}
#fp-nav ul li .tag {
    position: absolute;
    width: 36px;
    left: 20px;
    top: -2px;
    font-size: 16px;
    display: none;
}
#fp-nav ul li:hover .tag {
    display: block;
}

h1, h2, h3, h4, h5, h6, ul, ol, li, p, div, body, a, input, img, dl, dt, dd, em, span, blockquote {
    padding: 0;
    margin: 0;
}

body {
    font-family: monospace, sans-serif;
    font-size: 1.2em;
    color: #d3d3d3;
}
a {
    text-decoration: none;
    color: #cacaca;
    font-family: Arial,"Arial Narrow";
}
a:hover {
    text-decoration: underline;
}
.section {
    text-align: center;
}

h1,h2 {
    text-shadow: 5px 2px 3px #b6b6b6;
}
h1,h2 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 0.3em;
}
h4 {
    font-size: 1.25em;
    margin: 0.3em;
}
p {
    margin: 0.4em 0;
}
[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
}

.icon-diamonds:before {
    content: "\e919";
}
.icon-github:before {
    content: "\eab0";
}
.icon-sina-weibo:before {
    content: "\ea9a";
}

#home {
    background-color: #218c74;
}
#home em {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 0.2em;
    font-size: 200px;
    color: #00cdad;
    animation:rotate 2s infinite;
    -webkit-animation:rotate 1s infinite;
}
@keyframes rotate {
    12% {
        transform:rotate3d(0,1,0,45deg)
    }
    24% {
        transform:rotate3d(0,1,0,90deg)
    }
    36% {
        transform:rotate3d(0,1,0,135deg)
    }
    48% {
        transform:rotate3d(0,1,0,180deg)
    }
    60% {
        transform:rotate3d(0,1,0,225deg)
    }
    72% {
        transform:rotate3d(0,1,0,270deg)
    }
    84% {
        transform:rotate3d(0,1,0,315deg)
    }
    100% {
        transform:rotate3d(0,1,0,360deg)
    }
}
@-webkit-keyframes rotate {
    12% {
        transform:rotate3d(0,1,0,45deg)
    }
    24% {
        transform:rotate3d(0,1,0,90deg)
    }
    36% {
        transform:rotate3d(0,1,0,135deg)
    }
    48% {
        transform:rotate3d(0,1,0,180deg)
    }
    60% {
        transform:rotate3d(0,1,0,225deg)
    }
    72% {
        transform:rotate3d(0,1,0,270deg)
    }
    84% {
        transform:rotate3d(0,1,0,315deg)
    }
    100% {
        transform:rotate3d(0,1,0,360deg)
    }
}

#home blockquote {
    font-family: Consolas;
    color: #BCBCBC;
}

#project {
    background-color: #2c2c54;
}

#profession {
    background-color: #6d3fb3;
}
#profession p span {
    display: inline-block;
    padding: 0.1em 0.4em;
    margin: 0 0.3em;
    color: #d5d5d5;
    border-radius: 3px;
}

#education {
    background-color: #cd6133;
}

#practice {
    background-color: #474787;
}

#work {
    background-color: #227093;
}

#contact {
    background-color: #cc8e35;
}
#contact .link span {
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 40px;
    margin: 0.4em 0.2em;
}
#contact .link span:hover {
    color: #ff9508;
}
